<!-- /* Description for file.
 * 用户管理-查看用户
 *
 * @copyright     Copyright 2008-2010, PHInfo Services Inc. (http://www.phinfoservices.com)
 * @package       ues
 * @subpackage    ues/app/views/users
 * @since         ues
 * @version       V0.0.1
 * @modifiedby    张朋2011年0604
 * @lastmodified  张海杰2011年0717
 */-->
<?php
echo $html->css ( 'tab' );
echo $html->css ( 'style' );
echo $javascript->link ( 'jquery' );
?>
<!-- 当前位置-->
<div id="tabmenubar">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="tabmenubartitle1"><?php echo  __('YourPosition');//您现在的位置：?></td>
		<td class="tabmenubartitle2"><?php echo __('Usersmanagements');//一级目录
										   echo '>';echo __('Usersmanagements');//二级目录
										   echo '>';?>
									<?php echo $html->tag('span', __('View User',true));//当前操作地用span加粗?> 						  
		</td>
	</tr>
</table>
</div>
<!-- 当前位置-->
<div class="tabflex">
<div class="view">
<fieldset>
	<legend><?php  __('View User');?></legend>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Username'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['username']; ?>
			&nbsp;
		</dd><!--
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Password'); ?>：</dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['password']; ?>
			&nbsp;
		</dd>
		--><dt<?php if ($i % 2 == 0) echo $class;?>><?php __('resumesname'); ?>：</dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('sex'); ?>：</dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['sex']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('telephone'); ?>：</dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['tel']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Departments'); ?>：</dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['department_id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('resumesmobilePhone'); ?>：</dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['mobilePhone']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('birthday'); ?>：</dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php if($user['User']['birthday']=="--")echo "保密" ;
				  else echo $user['User']['birthday'];?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Email'); ?>：</dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['email']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('otherMessage'); ?>：</dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['otherMessage']; ?>
			&nbsp;
		</dd>
	</dl>
   </fieldset>
</div>
</div>
<div class="actions" id="notices-actions">
	<ul>
		<li><?php echo $html->link(__('Edit', true), array('action' => 'edit', $user['User']['id']),array('class'=>'btn2')); ?> </li>
		<li><?php echo $html->link(__('Delete', true), array('action' => 'delete',$user['User']['id']), array('class'=>'btn2'), sprintf(__('确定删除 %s?', true), $user['User']['name'])); ?> </li>
		<li><?php echo $html->link(__('List', true), array('action' => 'allinfo'),array('class'=>'btn2')); ?> </li>
		<li><?php echo $html->link(__('Add', true), array('action' => 'add'),array('class'=>'btn2')); ?> </li>
	</ul>
</div>